﻿#pragma once

#include <QtWidgets/QMainWindow>
#include "../common/CommonListView.h"
#include "../common/CommonListView.h"
#include <QSize>
#include <QIcon>
#include "features_detection_window.h"
#include "image_segmentation_window.h"
#include "haar_lbp_window.h"
#include "video_analysis_and_object_track_window.h"
#include "ai_window.h"
#include "face_recognizer_window.h"
#include "video_player_window.h"
#include "BaseOptionWindow.h"
#include "custom/CustomExampleListWindow.h"
#include "ImageBasicOptionExampleWindow.h"
#include "NetworkWindow.h"
#include "compress/ImageCompressTool.h"

class OpenCVWindow : public QMainWindow
{
	Q_OBJECT

public:
	OpenCVWindow(QWidget *parent = nullptr);
	~OpenCVWindow();
public:
	void createListView();//创建一个ListView

private:
	CommonListView* listView;
    BaseOptionWindow baseOptionWindow;//基础操作
    Features_Detection_Window featuresDetectionWindow;
    Image_Segmentation_Window imageSegmentationWindow;
    Haar_LBP_Window harrLbpWindow;
    Video_Analysis_And_Object_Track_Window videoAnalysisAndObjectTrackWindow;
    AI_Window aiWindow;
    Face_Recognizer_Window faceRecognizer;
    Video_Player_Window videoPlayerWindow;
    //自定义View
    CustomExampleListWindow customExampleListWindow;
    //图片基本操作案例
    ImageBasicOptionExampleWindow imageBasicOptionExampleWindow;
    //Qt网络相关
    NetworkWindow networkWindow;
    //图片压缩工具
    ImageCompressTool imageCompressTool;
};
